<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>10-空间-3d-平移</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            background: palegreen;
            transition: all 2s;
        }
        .box:hover {
            /* 电脑是平面，默认无法观察 Z 轴 平移效果 */
            transform: translate3d(100px,200px,300px);
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>